package com.hub.frame.exception;

import com.hub.frame.consts.ResultPacketCode;

/**
* @Description: 请求过于频繁异常
* @author hub
*/
public class TooFrequentException extends CustomException {

    private Integer code;

    public TooFrequentException(){
        super();
    }

    public TooFrequentException(String message){
        super(message);
        this.code = ResultPacketCode.APIResultCode.FrequentFail.getCode();
    }
}
